package com.autumn.zero.file.storage.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.autumn.file.storage.annotation.EnableAutumnStorage;
import com.autumn.zero.file.storage.configure.AutumnZeroFileStorageConfiguration;

/**
 * 启用 Zero 文件存储
 * 
 * @author 老码农 2019-03-18 18:03:50
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@EnableAutumnStorage
@Import({ AutumnZeroFileStorageConfiguration.class })
public @interface EnableAutumnZeroFileStorage {

	/**
	 * 实体包路径
	 */
	public static final String ENTITY_PACKAGE_PATH = "com.autumn.zero.file.storage.entities";

	/**
	 * 仓储包路径
	 */
	public static final String REPOSITORY_PACKAGE_PATH = "com.autumn.zero.file.storage.repositories";

}
